var ec_right1 = echarts.init(document.getElementById("r1"),"dark");

option_right1 = {
	title: {
		text: '现有确诊人数排行',
		textStyle: {
			color: 'white'
		},
		left: 'left'
	},
	 grid: {
	// 	left: 50,
	// 	top: 50,
	 	right: 10,
	// 	width: '87%',
	// 	height: 320,
	 },
	color: ['#3398DB'],
	tooltip: {
		trigger: 'axis',
		axisPointer: {
			type: 'shadow'
		}
	},
	//全局字体样式
	// textStyle: {
	// 	fontFamily: 'PingFangSC-Medium',
	// 	fontSize: 12,
	// 	color: '#858E96',
	// 	lineHeight: 12
	// },
	xAxis: {
		type: 'category',
		//                              scale:true,
		data: []
	},
	yAxis: {
		type: 'value',
		//坐标轴刻度设置
		},
	axisLabel: {
				show: true,
				color: 'white',
				fontSize: 12,
				formatter: function(value) {
					if (value >= 1000) {
						value = value / 1000 + '千';
					}
					return value;
				}
			},
	series: [{
		type: 'bar',
		data: [],
		barMaxWidth: "50%"
	}]
};
ec_right1.setOption(option_right1)
